<%@ page language="java" errorPage="/CustomError.jsp" pageEncoding="UTF-8"%>
<%@page import="com.sun.xml.internal.bind.v2.schemagen.xmlschema.Import"%>
<%@page  import= "java.util.*" %>
<%request.getRequestDispatcher("/jsp/BaseInclude.jsp").include(request, response);%>
<%Date d = new Date();
Calendar c =  new GregorianCalendar();
String userID = null;
if(null!=request.getSession().getAttribute("userid"))
userID = request.getSession().getAttribute("userid").toString();
%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<div id="welcomeUser">

<table id="welcomeUserTable">
	<tr>	 		
		<td nowrap="nowrap"><span class='mbold_hallmark'>Welcome</span> </td><td><span  class='mbold'>:</span></td>
		<%if(null!=userID) {%>
		<td nowrap="nowrap"><span class='normal_hallmark'><%=userID%></span></td>
			<%} else{%>
			<td nowrap="nowrap"><span class='normal_hallmark'>GUEST</span></td>
			<%} %>
	</tr>	
	<tr>
			<td nowrap="nowrap"><span class='mbold'>Application Date</span></td><td ><span class='mbold'>:</span></td>
			<td nowrap="nowrap" colspan="7"><span class="normal_hallmark"><%=c.get(Calendar.DATE)+"/"+(c.get(Calendar.MONTH)+1)+"/"+c.get(Calendar.YEAR)%></span></td>		
	</tr>
	<tr>
			<td nowrap="nowrap" colspan="7"><span class="mbold_hallmark"><a href="<%=basePath %>jsp/Logout.jsp">LOGOUT</a></span></td>		
	</tr>			
	</table>
</div>	
	